package com.ge.modules.sys.service.impl;

import com.ge.modules.dao.TbHeadImgDao;
import com.ge.modules.entity.TbHeadImgEntity;
import com.ge.modules.sys.service.SysTbHeadImgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class SysTbHeadImgServiceImpl implements SysTbHeadImgService {

    @Autowired
    private TbHeadImgDao headImgDao;

    @Override
    public TbHeadImgEntity queryObject(Integer id){
        return headImgDao.queryObject(id);
    }

    @Override
    public List<TbHeadImgEntity> queryList(Map<String, Object> map){
        return headImgDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map){
        return headImgDao.queryTotal(map);
    }

    @Override
    public void save(TbHeadImgEntity headImg){
        headImgDao.save(headImg);
    }

    @Override
    public void update(TbHeadImgEntity headImg){
        headImgDao.update(headImg);
    }

    @Override
    public void delete(Integer id){
        headImgDao.delete(id);
    }

    @Override
    public void deleteBatch(Integer[] ids){
        headImgDao.deleteBatch(ids);
    }
}
